﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EjercicioI
{
    public abstract class Vehiculo
    {
        public string Matricula { get; private set; }
        public bool alquilado { get; set; }

        public abstract void alquilar();

        public Vehiculo(string matricula)
        {
            Matricula = matricula;
        }
    }
}
